package cn.xuan.zp.service.log.obj;

import java.util.Date;

public class LogInfo {
    private Long id;

    private String operator;

    private String userName;

    private String action;

    private String userId;

    private String targetType;

    private String remark;

    private String beanName;

    private String methodName;

    private String remoteAddr;

    private String params;

    private String sessionId;

    private String uri;

    private Date beginTime;
    private String beginTimeStr;

    private String exMessage;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getRemoteAddr() {
        return remoteAddr;
    }

    public void setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public String getBeginTimeStr() {
        return beginTimeStr;
    }

    public void setBeginTimeStr(String beginTimeStr) {
        this.beginTimeStr = beginTimeStr;
    }

    public String getExMessage() {
        return exMessage;
    }

    public void setExMessage(String exMessage) {
        this.exMessage = exMessage;
    }

    @Override
    public String toString() {
        return "LogInfo{" +
                "id=" + id +
                ", operator='" + operator + '\'' +
                ", userName='" + userName + '\'' +
                ", action='" + action + '\'' +
                ", userId='" + userId + '\'' +
                ", targetType='" + targetType + '\'' +
                ", remark='" + remark + '\'' +
                ", beanName='" + beanName + '\'' +
                ", methodName='" + methodName + '\'' +
                ", remoteAddr='" + remoteAddr + '\'' +
                ", params='" + params + '\'' +
                ", sessionId='" + sessionId + '\'' +
                ", uri='" + uri + '\'' +
                ", beginTime=" + beginTime +
                ", beginTimeStr='" + beginTimeStr + '\'' +
                ", exMessage='" + exMessage + '\'' +
                '}';
    }
}
